<div class="box-search-data">
<?php if((isset($_SESSION['sys_admin']))||(isset($_SESSION['admin']))||(isset($_SESSION['intern_audit']))||(isset($_SESSION['second_consult']))||(isset($_SESSION['dept_pic']))) {?>
<style type="text/css">
	.box-searchdata {
		width:98%;
		height:auto;
		padding:1px;
		margin:auto;
		}
</style>


<div class="box-searchdata">
<?PHP
echo ! empty($h2_title) ? '<h2>' . $h2_title . '</h2>': '';
echo ! empty($table) ? $table : '';


 } 
	?>
</div>
<script type="text/javascript" src="<?php echo base_url();?>js/sorter.js"></script>
<script type="text/javascript">
	var sorter = new TINY.table.sorter("sorter");
		sorter.head="heads";
		sorter.asc = "asc";
		sorter.desc = "desc";
		sorter.even = "evenrow";
		sorter.odd = "oddrow";
		sorter.evensel ="evenselected";
		sorter.oddsel ="oddselected";
		sorter.paginate= true;
		sorter.currentid ="currentpage";
		sorter.limited ="pagelimit";
		sorter.init("table",1);
</script>

</div>